import Vue from 'vue'
import Vuex from 'vuex'
import pm from './modules/pm.js'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    // bool:false,
    routerlist:[]
  },
  getters: {
  },
  mutations: {
    // APP_UPDATA_BOOL(state){
    //   state.bool=!state.bool
    // }
    UP_ROUTERLIST(state,payload){
      state.routerlist=payload
    }
  },
  actions: {
  },
  modules: {
    pm
  }
})
